home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 201-225 / disk_201 / draco / drinc / intuition / window.g < prev   
Text File  |  1992-05-06  |  3KB  |  149 lines

  1. type
  2. „Window_t=struct{
  3. ˆ*Window_tw_NextWindow;
  4. ˆ
  5. ˆuintw_LeftEdge,w_TopEdge;
  6. ˆuintw_Width,w_Height;
  7. ˆ
  8. ˆintw_MouseY,w_MouseX;
  9. ˆ
  10. ˆuintw_MinWidth,w_MinHeight;
  11. ˆuintw_MaxWidth,w_MaxHeight;
  12. ˆ
  13. ˆulongw_Flags;
  14. ˆ
  15. ˆ*Menu_tw_MenuStrip;
  16. ˆ
  17. ˆ*charw_Title;
  18. ˆ
  19. ˆ*Requester_tw_FirstRequest;
  20. ˆ*Requester_tw_DMRequest;
  21. ˆuintw_ReqCount;
  22. ˆ
  23. ˆ*Screen_tw_WScreen;
  24. ˆ*RastPort_tw_RPort;
  25. ˆ
  26. ˆushortw_BorderLeft,w_BorderTop,w_BorderRight,w_BorderBottom;
  27. ˆ*RastPort_tw_BorderRPort;
  28. ˆ
  29. ˆ*Gadget_tw_FirstGadget;
  30. ˆ
  31. ˆ*Window_tw_Parent,w_Descendant;
  32. ˆ
  33. ˆ*uintw_Pointer;
  34. ˆushortw_PtrHeight,w_PtrWidth;
  35. ˆshortw_XOffset,w_YOffset;
  36. ˆ
  37. ˆulongw_IDCMPFlags;
  38. ˆ*MsgPort_tw_UserPort,w_WindowPort;
  39. ˆ*IntuiMessage_tw_MessageKey;
  40. ˆ
  41. ˆushortw_DetailPen,w_BlockPen;
  42. ˆ
  43. ˆ*Image_tw_CheckMark;
  44. ˆ
  45. ˆ*charw_ScreenTitle;
  46. ˆ
  47. ˆintw_GZZMouseX,w_GZZMouseY;
  48. ˆuintw_GZZWidth,w_GZZHeight;
  49. ˆ
  50. ˆ*bytew_ExtData;
  51. ˆ
  52. ˆ*bytew_UserData;
  53. ˆ
  54. ˆ*Layer_tw_WLayer;
  55. ˆ
  56. ˆ*TextFont_tw_IFont;
  57. „};
  58.  
  59. ulong
  60. „WINDOWSIZING„=0x00000001,
  61. „WINDOWDRAG†=0x00000002,
  62. „WINDOWDEPTH…=0x00000004,
  63. „WINDOWCLOSE…=0x00000008,
  64.  
  65. „SIZEBRIGHT†=0x00000010,
  66. „SIZEBBOTTOM…=0x00000020,
  67.  
  68. „REFRESHBITS…=0x000000C0,
  69. „SMART_REFRESHƒ=0x00000000,
  70. „SIMPLE_REFRESH‚=0x00000040,
  71. „SUPER_BITMAP„=0x00000080,
  72. „OTHER_REFRESHƒ=0x000000C0,
  73.  
  74. „BACKDROPˆ=0x00000100,
  75.  
  76. „REPORTMOUSE…=0x00000200,
  77.  
  78. „GIMMEZEROZEROƒ=0x00000400,
  79.  
  80. „BORDERLESS†=0x00000800,
  81.  
  82. „ACTIVATEˆ=0x00001000,
  83.  
  84. „WINDOWACTIVE„=0x00002000,
  85. „INREQUEST‡=0x00004000,
  86. „MENUSTATE‡=0x00008000,
  87.  
  88. „RMBTRAP‰=0x00010000,
  89. „NOCAREREFRESHƒ=0x00020000,
  90.  
  91. „WINDOWREFRESHƒ=0x01000000,
  92. „WBENCHWINDOW„=0x02000000,
  93. „WINDOWTICKED„=0x04000000,
  94.  
  95. „SUPER_UNUSED„=0xF8FC0000;
  96.  
  97. type
  98. „NewWindow_t=struct{
  99. ˆuintnw_LeftEdge,nw_TopEdge;
  100. ˆuintnw_Width,nw_Height;
  101. ˆ
  102. ˆushortnw_DetailPen,nw_BlockPen;
  103. ˆ
  104. ˆulongnw_IDCMPFlags;
  105. ˆ
  106. ˆulongnw_Flags;
  107. ˆ
  108. ˆ*Gadget_tnw_FirstGadget;
  109. ˆ
  110. ˆ*Image_tnw_CheckMark;
  111. ˆ
  112. ˆ*charnw_Title;
  113. ˆ
  114. ˆ*Screen_tnw_Screen;
  115. ˆ
  116. ˆ*BitMap_tnw_BitMap;
  117. ˆ
  118. ˆuintnw_MinWidth,nw_MinHeight;
  119. ˆuintnw_MaxWidth,nw_MaxHeight;
  120. ˆ
  121. ˆuintnw_Type;
  122. „};
  123.  
  124. uint
  125. „FREESIZE=0xffff;
  126.  
  127. ushort
  128. „FREEPEN=0xff;
  129.  
  130. extern
  131. „ActivateWindow(*Window_tw)void,
  132. „BeginRefresh(*Window_tw)void,
  133. „ClearPointer(*Window_tw)void,
  134. „CloseWindow(*Window_tw)void,
  135. „EndRefresh(*Window_tw;ulongcomplete)void,
  136. „ModifyIDCMP(*Window_tw;ulongIDCMPFlags)void,
  137. „MoveWindow(*Window_tw;longdeltaX,deltaY)void,
  138. „OpenWindow(*NewWindow_tnw)*Window_t,
  139. „RefreshWindowFrame(*Window_tw)void,
  140. „ReportMouse(ulongvalue;*Window_tw)void,
  141. „SetPointer(*Window_tw;*uintpointer;
  142. ulongheight,width;longXOffset,YOffset)void,
  143. „SetWindowTitles(*Window_tw;*charwindowTitle,screenTitle)void,
  144. „SizeWindow(*Window_tw;longdeltaX,deltaY)void,
  145. „ViewPortAddress(*Window_tw)*ViewPort_t,
  146. „WindowLimits(*Window_tw;ulongminWidth,minHeight,maxWidth,maxHeight)bool,
  147. „WindowToBack(*Window_tw)void,
  148. „WindowToFront(*Window_tw)void;
  149.